package com.mtsmda.oracleOfficialTutorialJAVA7.chapter1.staticEx;

public class StaticEx {
	
	private String name;
	
	private static Integer count = new Integer(0);
	
	private static int sum;
	
	public void print(){
		System.out.println(name);
		System.out.println(getName());
		System.out.println(count);
		System.out.println(getCount());
	}
	
	
	public static Integer getCount(){
		print();
		return count;
	}
	
	public String getName(){
		print();
		return name;
	}
	
	public static void main(String[] args) {
		System.out.println(sum);
	}
}